//
//  GetPhoto.h
//  XJHD_Customer
//
//  Created by sdc on 15/9/8.
//  Copyright (c) 2015年 com.ync. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class UIViewController;

#import <MobileCoreServices/MobileCoreServices.h>

@interface GetPhoto : NSObject<UIImagePickerControllerDelegate, UINavigationControllerDelegate>

//@property (nonatomic,strong) UIImage * image;


@property (nonatomic,strong) UIViewController * controller;


@property(nonatomic, strong) void (^image)(UIImage * image);


+ (instancetype)sharedInstance;

// 相机拍照选取
- (void)takePhotoWithController:(UIViewController *)controller andIsCanEdit:(BOOL)isCanEdit;

// 相册选取
- (void)pickupPhotoWithController:(UIViewController *)controller andIsCanEdit:(BOOL)isCanEdit;


@end
